projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4513a6
)
doc tools: Stop using gtk_true
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 31 Dec 2017 17:17:08 +0000
(12:17 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 16 Jan 2018 19:14:09 +0000
(14:14 -0500)
docs/tools/widgets.c
patch
|
blob
|
history
diff --git
a/docs/tools/widgets.c
b/docs/tools/widgets.c
index 2548fcf995fb4ee32df1d975e37cd87befa33e92..33c8590fded27876b949569cd3b865b354bd0bf6 100644
(file)
--- a/
docs/tools/widgets.c
+++ b/
docs/tools/widgets.c
@@
-17,6
+17,12
@@
#define LARGE_WIDTH 240
#define LARGE_HEIGHT 240
+static gboolean
+focus_handled (void)
+{
+ return TRUE;
+}
+
static WidgetInfo *
new_widget_info (const char *name,
GtkWidget *widget,
@@
-42,7
+48,7
@@
new_widget_info (const char *name,
}
info->no_focus = TRUE;
- g_signal_connect (info->window, "focus", G_CALLBACK (
gtk_true
), NULL);
+ g_signal_connect (info->window, "focus", G_CALLBACK (
focus_handled
), NULL);
switch (size)
{